package xyz.fuqufyb.aec.feign.aviation;

import com.springcloud.travel.entity.Aviation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient(value = "travel-aviation",path = "/aviation")
public interface AviationFeign {

    @RequestMapping("/show")
    List<Aviation> show(@RequestParam("map") Map<String, Object> map);
}
